
/**
 * leftNavBar vuex
 */
// import posts from '@/plugins/request'
import storage from '@/plugins/localStorage'
import { selectList } from "@/http/api";
const state = {
  changeWidth: false,
  laboratoryByCollegData: [],
  facultyNo: '',
  laboratoryNo: '',
  collegeNo: '',
  floorNo: ''
}

const getters = {

}

const actions = {
}

const mutations = {
  setChangeWidth(state) {
    state.changeWidth = !state.changeWidth;
  },
  setCollegeNo(state, data) {
    state.collegeNo = data;
  },
  setFloorNo(state, data) {
    state.floorNo = data;
  },
  setFacultyNo(state, data) {
    state.facultyNo = data;
  },
  setLaboratoryNo(state, data) {
    state.laboratoryNo = data;
  },
  setLaboratoryByColleg(state, data) {
    state.laboratoryByCollegData = data
  }
}
export default {
  namespaced: true,
  state,
  getters,
  actions,
  mutations
}
